package com.geek.factory.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2025-06-29
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("stock_check_adjustment")
@ApiModel(value="StockCheckAdjustment对象", description="")
public class StockCheckAdjustment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "adjustment_id", type = IdType.AUTO)
    private Integer adjustmentId;

    @ApiModelProperty(value = "盘点单ID")
    private Integer checkId;

    @ApiModelProperty(value = "盘点明细ID")
    private Integer detailId;

    @ApiModelProperty(value = "差异原因")
    private String adjustmentType;

    @ApiModelProperty(value = "调整数量")
    private BigDecimal adjustmentQuantity;

    @ApiModelProperty(value = "调整原因")
    private String reason;

    @ApiModelProperty(value = "审批人")
    private String approvedBy;

    @ApiModelProperty(value = "审批时间")
    private LocalDateTime approvedTime;

    @ApiModelProperty(value = "审批结果：approved=通过,rejected=拒绝")
    private String approvalResult;

    @ApiModelProperty(value = "审批意见")
    private String approvalComments;

    private String createdBy;

    private LocalDateTime createdTime;

    @ApiModelProperty(value = "更新人")
    private String updatedBy;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updatedTime;

}
